﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace Hotfix
{
  public class Init
  {

    public static void Start()
    {

      Hotfix.Scene.AddComponent<UIComponent>();
      Hotfix.Scene.GetComponent<UIComponent>().Create(EnumUiType.UILogin);
    }


    public static void Update()
    {
      try
      {
       // Hotfix.EventSystem.Update();
      }
      catch (Exception e)
      {
        Debug.Log(e);
        throw;
      }

    }

  }

}
